package com.hy.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.*;
import lombok.experimental.Accessors;

import java.io.Serializable;


/**
 * 【请填写功能名称】对象 address
 * 
 * @author ruoyi
 * @date 2025-03-06
 */
@TableName("address")
@Accessors(chain = true)
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Address implements Serializable {
    private static final long serialVersionUID = 1L;

    /** 地址id */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    @TableField("province_id")
    private Integer provinceId;
    @TableField("city_id")
    private Integer cityId;
    @TableField("district_id")
    private Integer districtId;

    /** 省 */
    @TableField("province")
    private String province;

    /** 市 */
    @TableField("city")
    private String city;

    /** 县 */
    @TableField("district")
    private String district;

    /** 具体地址 */
    @TableField("detailed_address")
    private String detailedAddress;

}
